package com.aircms.service;

import com.aircms.common.ServerResponse;
import com.aircms.pojo.NewsType;
import com.aircms.pojo.validation.BaseQueryFieldsValidation;

public interface INewsTypeService {
    ServerResponse index(BaseQueryFieldsValidation baseQueryFields, int pageNum, int pageSize);
    ServerResponse store(NewsType newsType);
    ServerResponse update(NewsType newsType);
    ServerResponse destroy(Integer id);
    ServerResponse getAllNewsType(BaseQueryFieldsValidation baseQueryFields);
}
